#!/bin/sh
# lib/gen_dtag_table
# 
# Part of the CCNx distribution.
#
# Copyright (C) 2009 Palo Alto Research Center, Inc.
#
# This work is free software; you can redistribute it and/or modify it under
# the terms of the GNU General Public License version 2 as published by the
# Free Software Foundation.
# This work is distributed in the hope that it will be useful, but WITHOUT ANY
# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
# FOR A PARTICULAR PURPOSE.
#
file ../../schema/tagname.csvdict >&2 || exit 1
tr ',' ' ' <../../schema/tagname.csvdict | while read i j k; do echo '    {'CCN_DTAG_$j, '"'$j'"}',; done
